<?php $message = $this->getMessage()?>
<?php foreach ($message as $type=>$_message):?>
    <?php foreach ($_message as $text):?>
        <div class="msg msg-<?php echo $type?>">
            <p><strong><?php echo $text?></strong></p>
            <a href="#" class="close">close</a>
        </div>
    <?php endforeach;?>
<?php endforeach;?>
<br />